package com.coldchain.admin.resoure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.coldchain.admin.resoure.entity.Resource;
import com.fangliai.core.exception.BaseException;

import java.util.List;

/**
 * <p>
 * 资源表 服务类
 * </p>
 *
 * @author fangliai
 * @since 2018-08-28
 */
public interface IResourceService extends IService<Resource> {

    /**
     * 获取系统模块下所有资源信息
     * @param sysmodel
     * @return
     */
    List<Resource> listAllBySysModel(String sysmodel) throws BaseException;
}
